package cn.yu.dream.operation.biz.authority.service.impl;

import cn.yu.dream.common.mybatis.cache.ServiceCacheImpl;
import cn.yu.dream.operation.api.entity.OperationRole;
import cn.yu.dream.operation.biz.authority.mapper.OperationRoleMapper;
import cn.yu.dream.operation.biz.authority.service.OperationRoleService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
@RequiredArgsConstructor
public class OperationRoleServiceImpl extends ServiceCacheImpl<OperationRoleMapper, OperationRole>
		implements OperationRoleService {

	@Override
	public OperationRole getById(Long id){
		return super.getById(id);
	}

	@Override
	public boolean updateById(OperationRole entity) {
		return super.updateById(entity);
	}

	@Override
	public boolean removeById(Long id) {
		return super.removeById(id);
	}

	@Override
	public List<OperationRole> listAll() {
		return super.list();
	}

	@Override
	public boolean save(OperationRole entity) {
		return super.save(entity);
	}


}
